package com.education.springbootdemo.service;

import com.education.springbootdemo.domain.doto.Category;
import com.education.springbootdemo.exception.BizException;

import java.util.List;

public interface CategoryService {

    Category add(Category category) throws BizException;

    Category get(Long id) ;

    List<Category> list() ;
}
